package com.example.entity;

/**
 * 常用的返回消息体
 * @author hipop
 */
public class ResMsgBody {
    /**
     * 丢失认证信息
     */
    public static final String ERROR_LOST_AUHT = "{\"code\":401,\"msg\":\"LOST AUTHORIZATION\",\"data\":null}";


    /**
     * 认证失败
     */
    public static final String ERROR_AUHT_FAIL = "{\"code\":401,\"msg\":\"UNAUTHORIZED\",\"data\":null}";

    /**
     * 认证信息解析失败
     */
    public static final String ERROR_AUHT_PARSE_FAIL = "{\"code\":400,\"msg\":\"Head parse fail, Maybe it's length overflow\",\"data\":null}";

    /**
     * 认证信息失效
     */
    public static final String ERROR_AUHT_EXPIRED = "{\"code\":401,\"msg\":\"TOKEN FAILURE\",\"data\":null}";
}
